import request from '@/utils/request.js'

import {useTokenStore} from '@/stores/token.js'



//  //题目知识点
export const versionSeaonAddService = (versionSeaonData)=>{
    return request.post('/admin/setup/versionSeason/add',versionSeaonData);

}



export const userListService = (params)=>{
    return  request.get('/admin/user/userPage',{params:params})
 }




// //题目分类修改
export const addOfficialAccountService = (params)=>{
    return  request.post('/admin/user/addOfficialAccount',params)
 }


export const updateOfficialAccountService = (params)=>{
    return  request.post('/admin/user/updateOfficialAccount',params)
}


export const userSuspendAccountService = (params)=>{
    return  request.get('/admin/user/suspendAccount',{params:params})
}

export const userUnblockAccountService = (params)=>{
    return  request.get('/admin/user/unblockAccount',{params:params})
}
